package com.hzit.task.iclient;

import com.hzit.paycommon.paycommonapi.resp.RespVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * pay-web服务
 */
@FeignClient(value = "PAY-WEB",fallback = IPayWebClient.class)
public interface IPayWebClient {


    @RequestMapping(value = "/queryTrdeing/{payWay}",method = RequestMethod.GET)
    public RespVo queryTrdeing(@PathVariable("payWay") String payWay);

}
